package com.itheima.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.itheima.pojo.CmsSubject;

import java.util.List;

public interface CmsSubjectApi {

    //获取全部商品专题
    List<CmsSubject> listAll();

    //根据专题名称分页获取商品专题
    IPage<CmsSubject> list(Integer pageNum, Integer pageSize, String keyword);
}
